<?php
use yii\helpers\ArrayHelper;
use common\library\htmlHelper;
use yii\helpers\Url;

?>
<!--<form class="layui-form" action="/cake-class/edit">-->
<div class="layui-form">
    <form class="layui-form" action="/member/out-info" method="post">
        <input class="layui-btn" type="hidden" name="member_id" value="<?=$member_id?>">
        <div class="layui-form-item">
            <label class="layui-form-label">去向</label>
            <div class="layui-inline">
                <select name="work_class_id">
                    <option value="">==全部==</option>
                    <?php foreach ($worksClass as $key=>$data):?>
                        <option value="<?= $data['works_class_id'] ?>" ><?= $data['class_name'] ?></option>
                    <? endforeach ?>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">时间</label>
                <div class="layui-input-inline" style="width: 120px !important;">
                    <input type="text" name="start_time" id="date" lay-verify="date" placeholder="yyyy-mm-dd" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})">
                </div>
                <div class="layui-form-mid">-</div>
                <div class="layui-input-inline" style="width: 120px!important;">
                    <input type="text" name="end_time" id="date" lay-verify="date" placeholder="yyyy-mm-dd" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})">
                </div>

            </div>
        </div>
        <input type="hidden" name="<?= Yii::$app->request->csrfParam ?>" value="<?= Yii::$app->request->csrfToken ?>">
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" type="submit">操作</button>
            </div>
        </div>
    </form>

</div>
<!--</form>-->
<script>
    layui.use(['layer', 'form', 'upload', 'laydate'], function () {
        var layer = layui.layer,
            laydate = layui.laydate,
            form = layui.form();

    });
</script>